wpCloud\StatelessMedia\Utility D

Total Complexity 181
Dependencies 9
Dependents 13
Total lines 1,066
Lines of code 648
Logical lines of code 333
Comment lines 304
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
add_media()
D
28
33 120
join_url()
B
42 20 50
process_file_by_id()
B
41 17 52
get_path_and_url()
B
42 16 47
process_image_by_id()
A
46 13 33
generate_cloud_meta()
A
52 9 21
mimetype_from_extension()
A
32 3 109
remove_media()
A
54 9 19
isCallStackMatches()
A
54 8 20
sync_get_attachment_if_exist()
A
56 8 16
randomize_filename()
S
49 6 30
convert_to_byte()
S
54 6 21
can_delete_attachment()
S
58 6 15
log()
S
62 5 11
get_available_sync_classes()
S
57 4 17
getCacheControl()
S
59 4 13
generate_jwt_token()
S
62 3 10
verify_jwt_token()
S
73 2 4
normalize_path()
S
66 2 8
store_can_delete_attachment()
S
70 2 6
override_cache_control()
S
80 1 3
add_webp_mime()
S
76 1 4
generate_wizard_auth_token()
S
68 1 7
getContentDisposition()
S
76 1 3
get_stateless_media_data_count()
S
66 1 9